/*
 * Buget.h
 *
 *  Created on: 2013-2-4
 *      Author: Dspark
 */

#ifndef BUGET_H_
#define BUGET_H_
#include <qstring.h>
class Buget {
public:
	enum Status{
		Suspend, Accepted, Rejected
	};
	Buget();
	virtual ~Buget();
	static QString& getStatusString(Status s){
			static QString StatusNames[] = {"待审批","审批通过","未通过"};
			return StatusNames[s];
	}

private:
	quint32 id,pid;
	QString oa;
	Status status;
	qreal paid,budget;
};

#endif /* BUGET_H_ */
